package com.briup.framework.utils.execption;

import com.briup.framework.utils.web.ResponseCode;

/**
 * @Author guomiao
 * @Date 2022/3/3 15:16
 */

public class DataValidateFailedException extends BriupFrameworkException{
    public DataValidateFailedException() {
    }

    public DataValidateFailedException(String message) {
        this(message,ResponseCode.DATA_VALIDATE_ERROR);
    }

    public DataValidateFailedException(String message, Throwable cause) {
        this(ResponseCode.DATA_VALIDATE_ERROR,message,cause);
    }

    public DataValidateFailedException(String message, ResponseCode code) {
        this(code,message,null);
    }

    public DataValidateFailedException(ResponseCode code, String message, Throwable cause) {
        super(code, message, cause);
    }
    public DataValidateFailedException(ResponseCode code) {
        super(code);
    }
}
